with open("a.txt", "r") as fun:
    b = fun.readlines()
    a = 1
    for temp in b:
        print("%d:%s" % (a, temp))
        a += 1
with open("b.txt", "w") as fun1:
     b = fun1.write("*******")
